package utils;

public class CommonUtils {

    public static String dealStringByFieldAndFieldType(String[] str1, String[] str2) {
        if (str1.length == 0) {
            return "";
        }
        StringBuffer sb = new StringBuffer();
        for (int i = 0, len = str1.length; i < len; i++) {
            sb.append("`" + str1[i] + "` " + str2[i] + ",");
        }
        String ret = sb.deleteCharAt(sb.length()-1).toString();
        System.out.println(ret);
        return ret;
    }
}
